package com.uidt.project.ptsj.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.uidt.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.uidt.framework.aspectj.lang.annotation.Excel;

/**
 * 房源信息对象 house_info
 *
 * @author uidt
 * @date 2024-08-20
 */
public class HouseInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 房源码 */
    private String houseCode;

    /** 房源类型;0 网约房 1 民宿 */
    @Excel(name = "房源类型;0 网约房 1 民宿")
    private String houseType;

    /** 房源名称 */
    @Excel(name = "房源名称")
    private String roomName;

    /** 场所编号 */
    @Excel(name = "场所编号")
    private String placeCode;

    /** 场所名称 */
    @Excel(name = "场所名称")
    private String placeName;

    /** 详细信息 */
    @Excel(name = "详细信息")
    private String address;

    /** 经营状态;0 正常 1 待核查 2无效 */
    @Excel(name = "经营状态;0 正常 1 待核查 2无效")
    private String status;

    /** 挂牌状态;0 无 1 待挂牌 */
    @Excel(name = "挂牌状态;0 无 1 待挂牌")
    private String cardstatus;

    /** 删除标记 */
    private String delFlag;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 管辖单位代码 */
    private String gxdwdm;

    /** 管辖单位名称 */
    private String gxdwmc;

    private PlaceInfo placeInfo;

    public PlaceInfo getPlaceInfo() {
        return placeInfo;
    }

    public void setPlaceInfo(PlaceInfo placeInfo) {
        this.placeInfo = placeInfo;
    }

    public void setHouseCode(String houseCode)
    {
        this.houseCode = houseCode;
    }

    public String getHouseCode()
    {
        return houseCode;
    }
    public void setHouseType(String houseType)
    {
        this.houseType = houseType;
    }

    public String getHouseType()
    {
        return houseType;
    }
    public void setRoomName(String roomName)
    {
        this.roomName = roomName;
    }

    public String getRoomName()
    {
        return roomName;
    }
    public void setPlaceCode(String placeCode)
    {
        this.placeCode = placeCode;
    }

    public String getPlaceCode()
    {
        return placeCode;
    }
    public void setPlaceName(String placeName)
    {
        this.placeName = placeName;
    }

    public String getPlaceName()
    {
        return placeName;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setCardstatus(String cardstatus)
    {
        this.cardstatus = cardstatus;
    }

    public String getCardstatus()
    {
        return cardstatus;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setCreatedBy(String createdBy)
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy()
    {
        return createdBy;
    }
    public void setCreatedTime(Date createdTime)
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime()
    {
        return createdTime;
    }

    public String getGxdwdm() {
        return gxdwdm;
    }

    public void setGxdwdm(String gxdwdm) {
        this.gxdwdm = gxdwdm;
    }

    public String getGxdwmc() {
        return gxdwmc;
    }

    public void setGxdwmc(String gxdwmc) {
        this.gxdwmc = gxdwmc;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("houseCode", getHouseCode())
                .append("houseType", getHouseType())
                .append("roomName", getRoomName())
                .append("placeCode", getPlaceCode())
                .append("placeName", getPlaceName())
                .append("status", getStatus())
                .append("cardstatus", getCardstatus())
                .append("delFlag", getDelFlag())
                .append("createdBy", getCreatedBy())
                .append("createdTime", getCreatedTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
}
